package Practice09;

public class CatTest {
    public static void main(String[] args) {
        Cat c = new Cat();
        Animal animal = new Animal() {
            @Override
            public void run() {
                System.out.println("animal 再走");
            }
        };
        c.run();
        animal.run();
    }
}
